package com.karry.pojo;

/**
 *  博客类型类
 * */
public class Type {

    //唯一标识
    private int id;
    //所属用户id
    private int userID;
    //所属用户id序号
    private int userTypeID;
    //类型名称
    private String name;
    //是否存在（相对删除）
    private int status;

    public Type(int id, int userID, int userTypeID, String name, int status) {
        this.id = id;
        this.userID = userID;
        this.userTypeID = userTypeID;
        this.name = name;
        this.status = status;
    }

    public Type() {}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public int getUserTypeID() {
        return userTypeID;
    }

    public void setUserTypeID(int userTypeID) {
        this.userTypeID = userTypeID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Type{" +
                "id=" + id +
                ", userID=" + userID +
                ", userTypeID=" + userTypeID +
                ", name='" + name + '\'' +
                ", status=" + status +
                '}';
    }
}
